#!/usr/bin/env bash

apt-get update

# apache and mono
apt-get install -y apache2
apt-get install -y mono-complete
apt-get install redis-server
npm install -g coffee-script

rm -rf /var/www
ln -fs /vagrant /var/www

redis-server /etc/redis/redis.conf

## ruby pre
#apt-get install -y git
#apt-get install -y curl
#apt-get install -y build-essential openssl libreadline6 libreadline6-dev zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion

## node.js
#apt-get install -y python-software-properties
#apt-add-repository -y ppa:chris-lea/node.js
#apt-get -y update
#apt-get -y install curl git-core nodejs

## rvm and ruby on rails
#curl -L get.rvm.io | bash -s stable
#source ~/.rvm/scripts/rvm
#rvm install 1.9.3
#rvm use 1.9.3 --default
#gem install rails

## Chinese Support
#export LC_CTYPE=zh_TW.UTF-8 
#export LC_MESSAGES=zh_TW.UTF-8 
#export LC_TIME=en_US.UTF-8